import request from "@/utils/request";
/**
 * 列出模型
 * @returns
 */
export function openBarrageAssistant() {
  return request({
    url: "/common/assistant/openBarrageAssistant",
    method: "get",
  });
}

export function restartModel() {
  return request({
    url: "/common/assistant/restartModel",
    method: "get",
  });
}

export function getGpuInfo() {
  return request({
    url: "/common/assistant/getGpuInfo",
    method: "get",
  });
}


export function openFolder(data) {
  return request({
    url: "/common/assistant/openFolder",
    method: "post",
    data: data
  });
}

export function clearLog(data) {
  return request({
    url: "/common/assistant/clearLog",
    method: "post",
    data: data
  });
}



